package com.example.wly.application_3_homework.bean;

import java.io.Serializable;

/**
 * Created by lenovo on 2019/11/18.
 */

public class WeaponInfo implements Serializable {
    private int life;
    private int attak;
    private int speed;
    //构造方法.alt+Insert
    public WeaponInfo(int life, int attak, int speed) {
        this.life = life;
        this.attak = attak;
        this.speed = speed;
    }
    //get和set

    public int getLife() {
        return life;
    }

    public void setLife(int life) {
        this.life = life;
    }

    public int getAttak() {
        return attak;
    }

    public void setAttak(int attak) {
        this.attak = attak;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }
}

